﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace Core.DataAccess.Model.Project.Entrepot
{
    public partial class ProductType
    {
        public int Id { get; set; }
        public string Title { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string ICON { get; set; }
        public long? UserKey { get; set; }
        public string Phone { get; set; }
        public string ProjectToken { get; set; }
        public int? UpKey { get; set; }

        /// <summary>
        /// 顶级节点
        /// 用于创建树形结构数据
        /// </summary>
        public int TopKey { get; set; }
        public DateTime? UpdateLastTime { get; set; }
        public DateTime? RegTime { get; set; }

        [NotMapped]
        public List<ProductType> ChildNodes { get; set; }
    }
}
